<h1>演示：自己封装的工具库</h1>

<h1>日期格式化</h1>
<script src="./utils.js"></script>
<script>
console.log(dateFormat('2021-11-26 10:56:00'))
</script>

<h1>判断浏览器内核</h1>
<script>
    console.log(browser())
</script>
<h1>现在是PC还是移动</h1>
<script>
    console.log(isM())
 </script>
 <h1>判断是否是微信浏览器</h1>
 <script>
     console.log(WeiXin())
 </script>
 <h1>图片懒加载</h1>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="../imgs/1.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="../imgs/2.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="../imgs/3.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="../imgs/4.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="../imgs/5.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="../imgs/6.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="../imgs/7.jpg" alt=""><br/>
<img src="https://kg.zhaodashen.cn/web/images/loading4.gif" height="350" src-real="../imgs/8.jpg" alt="">
<script src="./lazyload.js"></script>
